package com.sx.design;

import com.sx.basic.IBasicService;
import com.sx.entity.design.DesignParamsEntity;

import java.util.List;

/**
 * @author AdinZ
 * @date 2020/11/12 17:38
 */
public interface IDesignParamsService extends IBasicService<DesignParamsEntity,Long> {

    /**
     * 根据组件模板删除 参数
     * @param moduleId
     */
    void deleteByModuleId(long moduleId);

    /**
     * 保存组件模板子参数
     * @param moduleId 组件模板id
     * @param list
     */
    void putParams(long moduleId, List<DesignParamsEntity> list);

    List<DesignParamsEntity> findTree(long moduleId);
}
